package com.zkx.blogweb;


import java.util.Random;

/**
 * @author zkx
 */
public class NumberUtils {

    public static int random(){
        Random random = new Random();
        StringBuilder str = new StringBuilder();
        for(int i=0;i<8;i++){
            str.append(random.nextInt(10));
        }

        //System.out.println(str);
        return Integer.parseInt(str.toString());
    }
}
